package com.ruibang.glass.material.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 物管-仓库管理-仓库信息管理
 * </p>
 *
 * @author mameng
 * @since 2024-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "物管-仓库管理-仓库信息管理 ")
@TableName("g_material_warehouse_info")
public class MaterialWarehouseInfo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "仓库编号（主键，自增）")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "仓库编号")
    private String warehouseNumber;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "所属厂房")
    private String belongToFactory;

    @ApiModelProperty(value = "所属厂房Id")
    private String belongToFactoryId;

    @ApiModelProperty(value = "仓库编号")
    private String warehouseCode;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "管理员")
    private String administrator;

    @ApiModelProperty(value = "流程呆滞期")
    private Integer processStalePeriod;

    @ApiModelProperty(value = "备注")
    private String remarks;


    @ApiModelProperty(value = "批量删除")
    @TableField(exist = false)
    private List<String> ids;


}
